package com.xlh.param.courseTest;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class QuestionRepositoryAddQuestionParam {
    @NotNull(message = "请选择章节")
    private Long chapterId;

    @NotNull(message = "试题类型不能为空")
    private Integer questionType;

    @NotBlank(message = "请填写试题题目描述")
    private String content;

    @NotBlank(message = "请填写试题题目描述")
    private String htmlContent;

    @Valid
    private List<QuestionAnswerParam> answer;

    private Integer duplicatePercent;

    private  String jxContentHtml;
    private  String jxContent;
}
